
import { Body, Post, Controller } from '@nestjs/common';
import { TenantService } from './services/tenant.service';
@Controller()
export class TenantController {
    constructor(
        public tenantService: TenantService,
    ) {

    }
    @Post('uploadTenant')
    async uploadTenant( @Body() params) {
        await this.tenantService.create(params);
        return { success: true };
    }
}